﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Iacym.Entities;
using Iacym.Repository;
using Microsoft.Practices.Unity;

namespace Iacym.BusinessLogic
{
    public class DetalleCitasBL : IDetalleCitasBL
    {
        [Dependency]
        public IDetalleCitasRepository dcRepo { get; set; }

        public List<DETALLE_CITA> GetAllFromDetalleCitasByPersonaId(int id)
        {
            return dcRepo.GetAllFromDetalleCitasByPersonaId(id);
        }


        public void AddDetalleCitas(DETALLE_CITA detalleCita)
        {
            dcRepo.AddDetalleCitas(detalleCita);
        }
    }
}
